﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Ramp.VSAddIn
{
    /// <summary>
    /// 
    /// </summary>
    public partial class RampForm : Form
    {
        /// <summary>
        /// 
        /// </summary>
        public string[] rampUpScenarios;

        /// <summary>
        /// Initializes a new instance of the <see cref="RampForm"/> class.
        /// </summary>
        /// <param name="scenarios">The scenarios.</param>
        public RampForm(string[] scenarios)
        {
            InitializeComponent();
            this.rampUpScenarios = scenarios;
            this.ShowInTaskbar = false;
            this.StartPosition = FormStartPosition.CenterParent;
            this.maxUserLoad.Height = 10;
        }

        private void RampUpForm_Load(object sender, EventArgs e)
        {
            this.scenarioListBox.Items.Clear();
            this.scenarioListBox.Items.AddRange(rampUpScenarios);
            this.scenarioListBox.SelectedIndex = 0;
        }
    }
}
